#ifndef GAMEMUSIC_H
#define GAMEMUSIC_H
#include "c_class.h"
#include "c_type.h"

class  __declspec(dllexport) GameMusic
{
public:

	enum MUSIC_FILE{
		MUSIC_SELECTED,
		MUSIC_FAILED,
		MUSIC_SUCCESS,
		MUSIC_GAME_OVER,
		MUSIC_BACKGROUND
	};
public:
	void Play(MUSIC_FILE);
	void CloseBackground(){m_background = FALSE;}
	void OpenBackground(){m_background = TRUE;}
	void CloseMusic(){m_music = FALSE;}
	void OpenMusic(){m_music = TRUE;}
	BOOL IsOpenMusic(){return m_music;}
	BOOL IsOpenBackground(){return m_background;}
private:
	void Init();
	BOOL m_music;
	BOOL m_background;
private:
	SINGLETON_DECL(GameMusic)
};


#endif